Parcel v2でシングルなHTMLファイルにする
https://parceljs.org/languages/html/#inline-scripts-and-styles
Parcel
code:index.html
<!DOCTYPE html>
<html>
<body>
<style>
@import "./style.scss";
</style>
<script type="module">
import value from "./other.ts";
console.log(value);
</script>
</body>
</html>
これは別に
JavaScript
でもいけます